<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>列表</title>
</head>
<body>
	<table border="solid 1px red;" cellspacing="0px" cellpadding="5px"
		width="100%">
		<thead>
			<tr style="text-align: left;">
				<form action="insert.jsp" method="post"
					enctype="application/x-www-form-urlencoded">
					<td colspan="9"><input type="submit" value="添加" /></td>
				</form>
				<form action="/certificate/delete.do?infoId=${certificate.infoId}" method="post"
					enctype="application/x-www-form-urlencoded">
					<td colspan="9"><input type="submit" value="删除" /></td>
				</form>
			</tr>
			<tr style="text-align: center;">
				<td><input type="checkbox" id="	" /></td>
				<th>证书编号</th>
				<th>证书类别编号</th>
				<th data-breakpoints="xs">姓名</th>
				<th data-breakpoints="xs">性别</th>
				<th data-breakpoints="xs">身份证号</th>
				<th data-breakpoints="xs">出生日期</th>
				<th data-breakpoints="xs">手机号码</th>
				<th data-breakpoints="xs">家庭地址</th>
				<th data-breakpoints="xs">寸照</th>
				<th data-breakpoints="xs">成绩</th>
				<th data-breakpoints="xs">是否通过</th>
				<th data-breakpoints="xs">考试评语</th>
				<th data-breakpoints="xs">报考用户名</th>
				<th data-breakpoints="xs">认证师用户名</th>
				<th data-breakpoints="xs">状态</th>
				<th data-breakpoints="xs">类别名称</th>
				<th data-breakpoints="xs">报考金额</th>
				<th data-breakpoints="xs">支付宝订单号</th>
				<th data-breakpoints="xs">操作</th>
			</tr>
		</thead>
		<tbody>
			<c:forEach items="${ certificateInfoList }" var="certificate">
				<tr style="text-align: center;">
					<td><input type="checkbox" class="checkSimple"
						value="${ certificate.infoId }" /></td>
					<%-- <td>${certificate.infoId}</td> --%>
					<td>${certificate.infoCertificateId}</td>
					<td>${certificate.infoCertificateTypeId}</td>
					<td>${certificate.infoName}</td>
					<td>${certificate.infoSex}</td>
					<td>${certificate.infoCard}</td>
					<!--<td>${certificate.infoBirth}</td>-->
					
					
					
					<td>
						<%-- <fmt:formatDate ${certificate.infoBirth} pattern="yyyy-MM-dd"/> --%>
						<fmt:formatDate value="${certificate.infoBirth}" pattern="yyyy-MM-dd"/>
					</td>
					
					<td>${certificate.infoPhone}</td>
					<td>${certificate.infoAddress}</td>
					<td>${certificate.infoImg}</td>
					<td>${certificate.infoGrade}</td>
					<td>${certificate.infoPass}</td>
					<td>${certificate.infoRemark}</td>
					<td>${certificate.infoExamUsername}</td>
					<td>${certificate.infoRzsUsername}</td>
					<td>${certificate.infoStatus}</td>
					
					<td>${certificate.infoStatus}</td>
					
					<td>${certificate.infoMoney}</td>
					<td>${certificate.infoZfbNumber}</td>
					<td><a href="/certificate/update.do?infoId=${certificate.infoId}">修改</a>
						<a href="/certificate/delete.do?infoId=${certificate.infoId}">删除</a>
					</td>
				</tr>
			</c:forEach>
		</tbody>
	</table>
</body>
</html>
